package org.action.order.domain.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class ActionOrderList {
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;
    private String ActionName;
    private LocalDate actionDate;
    private String actionCover;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long orderId;
    private List<String> userName;
    private Double price;
    private LocalDateTime createTime;
    private Integer status;

    public ActionOrderList() {
        this.userName = new ArrayList<>();
    }
}
